package cn.lefull.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
* @description: 
* @author: qijiang email:jiang1211@foxmail.com 
* @date: 2019-03-14 11:13:40 
*/
@Table(name = "apartment_subject")
@Entity
@Data
public class ApartmentSubject extends  BaseEntity implements Serializable  {

	private static final long serialVersionUID = 1L;
	
	/**ID主键**/
	@Column(name = "id")
	@ApiModelProperty(value = "ID主键",notes ="ID主键" )
	private Integer  id ;
	
	/**门店营收科目配置业务主键**/
	@Column(name = "apartment_subject_id")
	@ApiModelProperty(value = "门店营收科目配置业务主键",notes ="门店营收科目配置业务主键" )
	private String  apartmentSubjectId ;
	
	/**科目ID**/
	@Column(name = "subject_info_id")
	@ApiModelProperty(value = "科目ID",notes ="科目ID" )
	private String  subjectInfoId ;
	
	/**费用名称**/
	@Column(name = "subject_name")
	@ApiModelProperty(value = "费用名称",notes ="费用名称" )
	private String  subjectName ;
	
	/**1：门店营收，2：平台营收，3：托管自营**/
	@Column(name = "revenue_type")
	@ApiModelProperty(value = "1：门店营收，2：平台营收，3：托管自营",notes ="1：门店营收，2：平台营收，3：托管自营" )
	private Integer  revenueType ;
	
	/**门店ID**/
	@Column(name = "apartment_id")
	@ApiModelProperty(value = "门店ID",notes ="门店ID" )
	private String  apartmentId ;
	
	/**操作人**/
	@Column(name = "operator_id")
	@ApiModelProperty(value = "操作人",notes ="操作人" )
	private String  operatorId ;
	
	/**组织ID**/
	@Column(name = "organization_id")
	@ApiModelProperty(value = "组织ID",notes ="组织ID" )
	private String  organizationId ;
	
	/**是否删除; 1:正常, 2:删除**/
	@Column(name = "delete_status")
	@ApiModelProperty(value = "是否删除; 1:正常, 2:删除",notes ="是否删除; 1:正常, 2:删除" )
	private Integer  deleteStatus ;
}
